:root {
    --primary: #003366;
    --secondary: #28a745;
    --light: #f4f7f6;
    --dark: #1a1a1a;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
    scroll-behavior: smooth;
}

/* Navegación */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 8%;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-img {
    height: 70px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary);
    font-weight: bold;
}

.nav-btn {
    background: var(--primary);
    color: white !important;
    padding: 8px 20px;
    border-radius: 5px;
}

/* Banner Hero */
.hero {
    height: 60vh;
    background: linear-gradient(rgba(0, 51, 102, 0.7), rgba(0, 51, 102, 0.7)),
        url('https://images.unsplash.com/photo-1556742044-3c52d6e88c62?auto=format&fit=crop&q=80&w=1470');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.hero h1 {
    font-size: 2.2rem;
    max-width: 900px;
    margin-bottom: 10px;
}

/* Contenedores y Grillas */
.container {
    width: 85%;
    margin: 0 auto;
}

.section-padding {
    padding: 80px 0;
}

.bg-light {
    background: var(--light);
}

.bg-dark {
    background: var(--dark);
    color: white;
}

.text-center {
    text-align: center;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Tarjetas Informativas */
.info-card,
.service-box {
    background: white;
    padding: 35px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.service-box i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.service-box h4 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.service-box ul {
    list-style: none;
    text-align: left;
}

.team-section {
    margin-top: 50px;
    background: #eef2f3;
    padding: 30px;
    border-radius: 8px;
}

.team-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 15px;
}

/* Requisitos */
.check-list {
    list-style: none;
    max-width: 700px;
    margin: 30px auto;
}

.check-list li {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.check-list li::before {
    content: "✓ ";
    color: var(--secondary);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Formulario Estilo EcuaFuturo */
.form-container {
    max-width: 700px;
    margin: 40px auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

input,
select,
textarea {
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

.btn-submit {
    background: var(--secondary);
    color: white;
    border: none;
    padding: 18px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.btn-submit:hover {
    background: #218838;
    transform: translateY(-2px);
}

/* Footer */
footer {
    background: #111;
    color: #999;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-col h4 {
    color: white;
    margin-bottom: 20px;
}

.copyright {
    border-top: 1px solid #333;
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
}

/* Diseño para Celulares */
@media (max-width: 768px) {

    .grid-2,
    .form-row {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 1.6rem;
    }
}